

import request from "@/utils/request";

export const pageTableData = (query) => request.get('/api/admin/employee/page' ,{params: query})

export const updateEmployee = emp => request.put('/api/admin/employee',emp)

export const addEmployee = emp => request.post('/api/admin/employee',emp)
